import request from "@/utils/request";
import { AxiosPromise } from "axios";
import { UtilityBillBalances } from "./types";

/**
 * 获取账单实体分页列表
 *
 * @param queryParams
 */
export function getBillBalance(): AxiosPromise<UtilityBillBalances> {
  return request({
    url: "/api/v1/utilityBill/balances",
    method: "get",
  });
}

export function updateBillBalance(): AxiosPromise<{}> {
  return request({
    url: "/api/v1/utilityBill/updateBalances",
    method: "get",
  });
}
